body {
    font-family: Arial, sans-serif;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    margin: 0;
    padding: 0;
    color: #333;
    height: 100vh;
    overflow: hidden;
    font-size: 14px; /* 减小字体大小 */
}

.top-bar {
    width: 100%;
    height: 106px; /* 减小高度 */
    background-color: white;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 10px; /* 减小内边距 */
}

.home-icon img {
    width: 20px; /* 减小图片宽度 */
    height: 20px; /* 减小图片高度 */
    cursor: pointer;
}

.profile-container {
    width: 70%;
    height: 15%; /* 减小高度 */
    background-color: white;
    margin: 8% auto 0; 
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px; /* 减小内边距 */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.avatar {
    width: 80px; /* 减小宽度 */
    height: 80px; /* 减小高度 */
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid orange;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-info label {
    margin-bottom: 3px; /* 减小下边距 */
    font-size: 12px; /* 减小字体大小 */
}

.profile-info input, .profile-info textarea, #bio-input {
    width: 150px; /* 减小宽度 */
    margin-bottom: 5px; /* 减小下边距 */
    font-size: 12px; /* 减小字体大小 */
}

.form-container {
    width: 70%;
    margin: 10px auto; /* 调整上边距 */
    background-color: white;
    padding: 10px; /* 减小内边距 */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 60%; /* 调整高度 */
    overflow: auto; /* 如果内容超出容器高度，显示滚动条 */
}

.form-group {
    margin-bottom: 10px; /* 减小下边距 */
}

.form-group label {
    display: block;
    margin-bottom: 3px; /* 减小下边距 */
    font-size: 12px; /* 减小字体大小 */
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 5px; /* 减小内边距 */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px; /* 减小字体大小 */
}

.sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    width: 207px;
    height: 388px;
    transform: translateY(-50%);
    background: rgba(249, 194, 90, 1);
    padding: 5px; /* 减小内边距 */
    border-radius: 45px;
    display: flex; /* 添加 flex 布局 */
    flex-direction: column; /* 垂直排列子元素 */
    justify-content: space-around; /* 均匀分布子元素 */
}

.sidebar-item {
    padding: 5px; /* 减小内边距 */
    margin: 3px 0; /* 减小外边距 */
    color: white;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 30px; /* 减小字体大小 */
}

.sidebar-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


.main-page-svg {
    position: absolute;
    left: 20px;
    top: 20px; 
}